export const log = {
  error: (...params: any[]) =>
    window.electron?.ipcRenderer?.logError(...params),
  info: (...params: any[]) => window.electron?.ipcRenderer?.logInfo(...params),
  warn: (...params: any[]) => window.electron?.ipcRenderer?.logWarn(...params),
  debug: (...params: any[]) =>
    window.electron?.ipcRenderer?.logDebug(...params),
};
